package com.sky.dto;

import io.swagger.annotations.Api;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Api("修改密码数据模型")
public class PasswordEditDTO implements Serializable {

    //员工id
//    @NotNull(message = "不能为空")
 //   private Long empId;

    //旧密码
    @NotBlank(message = "不能为空")
    private String oldPassword;

    //新密码
    @NotBlank(message = "不能为空")
    private String newPassword;

}
